//
//  MeetingBottomView.h
//  YUNWUMeetingDemo
//
//  Created by mac on 2019/7/15.
//  Copyright © 2019 DGL. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, MBottomViewBtnType) {
    MBottomViewBtnTypeMic = 1, // 开 / 关 麦克风
    MBottomViewBtnTypeCamera = 2, // 开 / 关 摄像头
    MBottomViewBtnTypeChat = 3, // 聊天
    MBottomViewBtnTypeExCamera = 4, // 切换摄像头
    MBottomViewBtnTypeRatio = 5, // 分辨率
    MBottomViewBtnTypeExit = 6, // 退出
    MBottomViewBtnTypeFrame = 7// 帧率
};

@class MeetingBtn, MeetingBottomView;

typedef void (^MBottomViewResponse)(MeetingBottomView *view, UIButton *sender);

@interface MeetingBottomView : UIView

@property (nonatomic, copy) MBottomViewResponse response;

- (void)updateMic:(BOOL)selected;
- (void)updateCamera:(BOOL)selected;


@end

NS_ASSUME_NONNULL_END
